package vip.xiaonuo.megvii.captures.model.base.define;

import java.util.HashMap;
import java.util.Map;

/**
 * 警戒区域定义
 */
public class AlertAreaDefine {

    private static Map<String,String> map = new HashMap<>();

    static {
        map.put("single_line","单向单绊线");
        map.put("single_line_both","双向单绊线");
        map.put("multi_line","单向双绊线");
        map.put("multi_line_both","双向双绊线");
        map.put("polygon","区域");
    }

    public static String getAlertAreaDesc(String key){
        return map.containsKey(key) ? map.get(key) : "";
    }

}
